﻿using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

    /// <summary>
    /// 热词基础输入参数
    /// </summary>
    public class car_searchkeyBaseInput
    {
        /// <summary>
        /// 搜索词
        /// </summary>
        public virtual string? words { get; set; }
        
        /// <summary>
        /// 次数
        /// </summary>
        public virtual long? clickCount { get; set; }
        
    }

    /// <summary>
    /// 热词分页查询输入参数
    /// </summary>
    public class car_searchkeyInput : BasePageInput
    {
        /// <summary>
        /// 搜索词
        /// </summary>
        public string? words { get; set; }
        
        /// <summary>
        /// 次数
        /// </summary>
        public long? clickCount { get; set; }
        
    }

    /// <summary>
    /// 热词增加输入参数
    /// </summary>
    public class Addcar_searchkeyInput : car_searchkeyBaseInput
    {
    }

    /// <summary>
    /// 热词删除输入参数
    /// </summary>
    public class Deletecar_searchkeyInput : BaseIdInput
    {
    }

    /// <summary>
    /// 热词更新输入参数
    /// </summary>
    public class Updatecar_searchkeyInput : car_searchkeyBaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }
        
    }

    /// <summary>
    /// 热词主键查询输入参数
    /// </summary>
    public class QueryByIdcar_searchkeyInput : Deletecar_searchkeyInput
    {

    }
